﻿namespace Qadir.MVC.Streamline
{
    /// <summary>
    /// A reference to a function dictating the order in which a program should flow.
    /// </summary>
    /// <param name="streamLine">A Streamline flow containing Views and Controllers that will run this timeline.</param>
    /// <param name="arguments">Any arguments used to run this timeline.</param>
    /// <returns>Returns an integer reflecting success or failure of the operation.</returns>
    public delegate int Timeline(Streamline streamLine, object[] arguments = null);
}
